package com.zhiyou.crowdfunding.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhiyou.crowdfunding.bean.Projects;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jyf
 * @since 2022-05-27
 */
public interface ProjectsService{


    //查询所有项目
    Page<Projects> getAllProjects(int pageNum,int pageSize);


    //根据项目类型查询项目
    Page<Projects> getProjectsByCondition(Integer psPstId,String usName,String psName,Integer psType, Integer pageNum, Integer pageSize);
}
